package cn.attackme.myuploader.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Growth_period {
    private Long id;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date start_time;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date end_time;
    private String potato_period;
}
